package com.auntvt.timo.jpax.springbootstarter.config;

import com.auntvt.timo.jpax.springbootstarter.resolver.MatcherMethodArgumentResolver;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.List;

/**
 * @author 小懒虫 <auntvt@163.com>
 * @date 2021/7/31
 */
public class JpaxWebConfiguration implements WebMvcConfigurer {

    @Override
    public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
        resolvers.add(new MatcherMethodArgumentResolver());
    }
}
